# https://hydra.cc/

import os
import logging
import hydra
from omegaconf import DictConfig, OmegaConf
from hydra.core.config_store import ConfigStore

# Structured Configs
cs = ConfigStore.instance()

# A logger for this file
log = logging.getLogger(__name__)


@hydra.main(version_base=None, config_path="configs/", config_name="hydra_config")
def my_app(cfg : DictConfig) -> None:
    save_dir = os.getcwd()
    log.info(f"Current working directory : {save_dir}")
    
    log.info(OmegaConf.to_yaml(cfg))
    log.info("Info level message")
    

if __name__ == "__main__":
    my_app()